<?php slot('article') ?>
<div class="whitepage">
        <div class="wp_title"><?php echo $node['title'] ?></div>

		<?php include_slot('hooaeg') ?>
		<?php include_slot('archiveLink') ?>

		<?php foreach($events as $event): ?>
        <a href="<?php include_component('linker', 'product', array('product' => $event['product'], 'linkStruct' => $node)) ?>">
			<div class="arch_element">
				<img height="230" width="543" alt="#1" src="<?php echo myPicture::getInstance($event['product']->ProductPictures[0]->getFile())->thumbnail(543,230,'center')->url()?>">
				<p class="arch_desc">
					<span class="desc_title_smaller">
						<span style="color: <?php echo CustomizationHelper::getInstance()->dark($section) ?>; line-height: 36px; text-decoration: none;"><?php echo $event['product']['name'] ?></span>
					</span>
					<span style="color: <?php echo CustomizationHelper::getInstance()->dark($section) ?>; line-height: 36px; text-decoration: none;" class="desc_title_date"><?php echo date('d.m. H:i',strtotime($event['product']['scheduled'])) ?></span>
					<span class="desc_text_smaller"><?php echo strip_tags($event['product']['description']) ?></span>
				</p>
			</div>
		</a>
		<?php endforeach; ?>

		<?php include_slot('hooaeg') ?>
		<?php include_slot('archiveLink') ?>
</div>
<?php end_slot() ?>